const mongoose = require('mongoose')
const schema = mongoose.Schema({
  create_time: { type: Number, required: true }, // 创建时间
  url: { type: String, default: '' }, // 图片路径
  alt: { type: String, default: '' }, // 图片alt
  use: { type: Boolean, default: false } // 是否使用
})

module.exports = mongoose.model('BackgroundList', schema, 'background-list')
